<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container {
      width: 1200px;
      height: 1600px;
      margin: 0 auto;
      border: 1px solid #000;
      background-image: url(../imgs/lotus.jpg);
      background-repeat: no-repeat;
      background-position: center;
    }
  </style>
</head>
<body>
  <script>
    /* 
      1. background-image
        - url(图片路径)
      2. background-size
        - 默认图片大小
        - contain 充满容器
        - cover 覆盖（充满横屏，忽略竖屏）
        - x轴尺寸值 y轴尺寸值
      3. background-position
        - 默认左上角对齐
        - x轴对齐方式/值 y轴对齐方式/值
        - background-position-x/y 单独设置
      4. backgournd-repeat
        - 默认平铺、重复容器大小
        - repeat-x/y 指定轴平铺
      5. 缩写background
        - 按顺序 颜色 url() repeat position/size
    */
  </script>
  <div class="container"></div>
</body>
</html>